package com.hzmg.web;

import com.hzmg.web.starter.VertXStarter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * AutoConfigure
 * @author zbw
 */
@Configuration
@ComponentScan(basePackages = "com.hzmg.web")
public class AutoConfigure {
    @Bean
    @ConditionalOnMissingBean
    public VertXStarter vertxStarterBean() {
        return new VertXStarter();
    }
}
